package com.jn.zhinongbao.adapter.bean;

public class Purchase {
    private int id;
    private String imageUrl; // 商品图片url
    private String address; // 地址
    private String requirements; // 要求
    private double purchasePrice; // 采购价
    private String shopName; // 店铺名
    private String merchantName; // 商家名
    private int merchantId; // 商家id
    private String createTime; // 创建时间

    public Purchase() {}

    public Purchase(String imageUrl, String address, String requirements, double purchasePrice,
                   String shopName, String merchantName, int merchantId) {
        this.imageUrl = imageUrl;
        this.address = address;
        this.requirements = requirements;
        this.purchasePrice = purchasePrice;
        this.shopName = shopName;
        this.merchantName = merchantName;
        this.merchantId = merchantId;
    }

    // Getters and setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRequirements() {
        return requirements;
    }

    public void setRequirements(String requirements) {
        this.requirements = requirements;
    }

    public double getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public int getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(int merchantId) {
        this.merchantId = merchantId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
} 